#include <stdio.h>

struct martial
{
    int id;
    char name[50];
    double count;
    double type;
};
struct player
{
   int id;
   char name[50];
   char pass[50];
   char sex;
   struct martial mart;
};

int main(void)
{
   struct player player1 = {5,"ab","200",'h',{3,"unuse",20,11}};
   struct player player2 = {4,"b","1200",'r',{2,"hunuse",220,101}};
   struct player *ptr_player2 = &player2;
   printf("%s\t%s\t%s",player1.name,player1.mart.name,player1.pass);
   printf("\n");
   printf("%s\t%s\t%s",(*ptr_player2).name,(*ptr_player2).mart.name,(*ptr_player2).pass);    
   printf("\n");
   printf("%s\t%s\t%s",ptr_player2 -> name,ptr_player2->mart.name,ptr_player2->pass);    
   printf("\n");
   return 0;
}	
